import React from 'react';
import styles from './index.less';

const TipBox = ({ title = '', content = '' }) => (
    <div className={styles.tipBox}>
        {title && <div className={styles.modalTitle}>{title}</div>}
        {content && <div className={styles.modalContent}>{content}</div>}
    </div>
);

export default TipBox;
